home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 1.iso / util / perfm30p.zip / PERFMETR.TXT < prev   
Text File  |  1994-07-27  |  9KB  |  253 lines

  1. Windows 3.1 Performance Meter Version 3.00 (Pre-Release)
  2. ========================================================
  3.  
  4. WHAT IS PERFMETER?
  5. ==================
  6.  
  7. Perfmeter is a small program that shows you how much your
  8. computer has to do.
  9.  
  10.  
  11. HOW DOES IT WORK?
  12. =================
  13.  
  14. A lot of people asked me how I (resp. the program) measure the
  15. CPU┤s performance. To help everybody who wants to know it -- here
  16. is the trick (you should know a little bit of windows programming
  17. to understand the following section):
  18. Windows offers a system timer event. Perfmeter tries to get a
  19. system timer message 55 times every second. Since Windows is
  20. non-preemptive (until today, if this changes Perfmeter won┤t work
  21. any longer) and the timer message has lowest priority and the
  22. message will be omitted if the next timer message comes in the
  23. message queue, Perfmeter can estimate the CPU usage by counting
  24. how many messages come in and comparing this to the number of
  25. messages expected. That┤s all. Now, go ahead and write your
  26. own Perfmeter -- or just use the original.
  27.  
  28. INSTALLATION
  29. ============
  30.  
  31. Installation is easy, just copy perfmetr.exe to any directory you
  32. like it to stay and run it. If you like Perfmeter to start up every
  33. time you start windows, place it in your "Autoexec" group in the 
  34. Program manager or edit the line "run=" in your win.ini file
  35. according to your windows documentation.
  36.  
  37. WHY USE PERFMETER AND NOT ANY OTHER CPU-PERFORMANCE MONITOR?
  38. ============================================================
  39.  
  40. Since there are millions of cpu-performance monitors I decided to
  41. get some of these (I think I got all that are on ftp.cica.indiana.edu)
  42. and compare them to Perfmeter.
  43.  
  44. Below is what I got. Remember: Every statement is my own opinion and
  45. I cannot be held responsible for anything caused by stating this.
  46. If I am wrong in anything I will be glad to correct it, just tell me.
  47.  
  48.  
  49. CPUUSE  (version tested: 1.6)
  50. ----------------------------
  51. Memory usage after global compact: 13536 Bytes
  52.  
  53. + Keep in Front
  54. + No registration fee
  55. + keyboad support
  56.  
  57. - needs calibration (measurement only relative to cpu usage at starting time)
  58. - no histograph, only (not very informing) percentage
  59. - only as an icon
  60. - fixed speed
  61. - fixed colors
  62.  
  63. LoadMon (version tested: 1.1)
  64. ----------------------------
  65. Memory usage after global compact: 8512 Bytes
  66.  
  67. + No registration fee
  68. + low memory usage^
  69. + System information
  70. + shows Memory usage
  71. + keyboard support
  72.  
  73. - CPU usage measurement very poor, does not tell anything
  74. - only as an icon
  75.  
  76. Odometer (version: 1.2)
  77. -----------------------------
  78.  
  79. - needs VBRUN200.DLL to run (I do not have this, so I did not test anymore)
  80.  
  81.  
  82. CPUMETER (version tested: 1.00Beta)
  83. -----------------------------------
  84. Memory usage after global compact: 8704 Bytes
  85.  
  86. - crashed my mouse cursor while I tried to move it
  87. - needs calibration (s.a., has recalibration feature that does not make it any
  88.             better)
  89. - $15 registration fee (crazy!)
  90. - no histograph, only a bar graph with a silly percentage in it
  91. - not resizable, not movable without problems
  92.  
  93. + low memory usage
  94.  
  95. Sysuse (version tested: 1.3)
  96. ----------------------------
  97.  
  98. - crashed
  99.  
  100. After I tested these, I stopped testing the other ones. I would
  101. like to include more tests, if anybody sends them to me.
  102.  
  103. DISCLAIMER & COPYRIGHT
  104. ======================
  105.  
  106. Ok, listen:
  107.     The last versions of Perfmeter had a note that it is *NOT*
  108.         allowed to be published in magazines or by commercial
  109.         copying businesses.
  110.         Maybe these people had their brains switched off. They did
  111.         it. They published it. They sold it. They did everything
  112.         they should not do without even telling me. So I┤ll take
  113.         the consequences:
  114.         EVERYBODY is allowed to make as many copies as he wants
  115.         and to give them to other people, as long as the fee for
  116.         this is a reasonable amount (let┤s say, $2.50 or less, not
  117.         including disks). I expect to get a note if the fee exceeds
  118.         $2.50. If the program is published in a magazine I will get
  119.         a free copy of the magazine. If the program is published
  120.         on CD I will get a free copy of the CD.
  121.  
  122. Everybody who uses the program does it on his or her own risk. I
  123. do not take any responsibility for any damages that are caused
  124. by the program, even though I am sure there won┤t be any.
  125.  
  126.  
  127. KNOWN BUGS
  128. ==========
  129.  
  130. If the CPU is loaded by a 100 Percent, Perfmeter will show this in the
  131. moment the load is lower. This sounds reasonable to me, because it were
  132. silly if Perfmeter could tell you that all time is used up by other
  133. programs. I know a way how to change this, and if there are many people
  134. bothered by the above fact, I may change it. Just tell me.
  135.  
  136. If a color is used for fore- or background which is dithered, that means
  137. which is obtained by mixing two colors, the scrolling will create stripes.
  138. This is due to the (windows internal) scrolling routine, and the only
  139. way to change this is to repaint the whole window every time it is 
  140. updated. This is obviously too much effort. FIX: Use a color that is 
  141. solid. Maybe I will include a option for repainting in a later version.
  142.  
  143. The keyboard support lacks resize and move, I don┤t know why I forget
  144. to put this in the menus. The official release 3.00 will have this.
  145.  
  146. The autosave feature does not work correctly, I think, but I do not 
  147. remember exactly. Please mail me your experiences.
  148.  
  149.  
  150. THANKS
  151. ======
  152.  
  153. Thanks to everybody who made this program possible.
  154. Thanks to everybody who uses this program.
  155. Special Thanks to the people on comp.windows.ms.programmer, who
  156. helped me to solve several problems, and to all the people that
  157. send mail to me making suggestions.
  158.  
  159.  
  160. REGISTRATION, BUGREPORTS, SUGGESTIONS AND EVERYTHING ELSE
  161. =========================================================
  162.  
  163. There is an easy, painless way to register Perfmeter: 
  164. Send a mail with the subject "Perfmeter 3.00 (PR) --- Registration",
  165. your full name and address, and, if you like, some more information
  166. on your person to hund@inf.fu-berlin.de . That┤s all. 
  167.  
  168. What do you get when you are registered? 
  169. You will receive a mail notification every time there is a new
  170. release of Perfmeter. Since this won┤t happen to often, you need not
  171. worry about being junked with perfmeter-release-mail. I promise!
  172. In addition, you may receive as many uuencoded copies of perfmeter
  173. as you like, by simply writing a mail. Isn┤t that great?
  174.  
  175. PLEASE REGISTER! as I would like to know where Perfmeter is used
  176. in the world. The more people register, the more I like to do
  177. the programming work.
  178.  
  179. If you have questions or suggestions, if you find bugs or anything else, feel
  180. free to send a mail and ask, complain or --- even better --- acclaim.  If
  181. you really like the program, you have the chance to send $1 or more to the
  182. following address.  If you do not like to send money to programmers, you
  183. may send a postcard (but a nice one!!).
  184.  
  185.         +---------------------+
  186.         | Ulrich Hund         | <-----------  cut here !
  187.         | Derfflingerstr. 17a |
  188.         | D-12249 Berlin      |
  189.         | Germany             |
  190.         +---------------------+
  191.  
  192. German residents may use the following bank account to send their money:
  193.     Berliner Sparkasse, Konto Nr. 1250207149, BLZ 100 500 00
  194.  
  195. Future releases of Perfmeter will be available at known Windows ftp-servers
  196. worldwide.
  197.  
  198.  
  199. Have fun!
  200. Ulli (hund@inf.fu-berlin.de)
  201.  
  202.  
  203. *******************************************************************************
  204. Version History:
  205.  
  206. 1.0  |  - First Version that became distributed.
  207. -----+
  208.  
  209. 1.01 |  - Improvements in calculating used CPU-time.
  210. -----+  - Checking for the icon size (limited to 65 pixels width)
  211.         - better positioning of graph within the icon
  212.         - some other minor improvements
  213.  
  214. 1.02 |  - some changes to the aboutbox
  215. -----+
  216.  
  217. 1.03 |  - minor bug fixes
  218. -----+  - smoother graphic
  219.     - three different speeds, put "S","M" or "F" on the command line
  220.       to achieve slow, medium or fast speed (default: medium).
  221.  
  222. 1.04 |    - bug fix. Bug did not appear in 1.02 but in 1.03
  223. -----+    - even smoother graphic
  224.     - new icon (the old one was too ugly)
  225.  
  226. 2.00 |  - Program fully rewritten (now TPW -- no more C!)
  227. -----+  - more than one instance
  228.     - no more limitation in icon size
  229.     - improved scrolling
  230.     - own .ini file for saving size and speed information
  231.     - no more command line option for speed
  232.  
  233. 2.01 |  - minor bug fix
  234. -----+  - much smaller memory usage (before: >45K now: <16K
  235.         - a lot of tuning has been done
  236.  
  237. 2.02 |  - KeepInFront option
  238. -----+  - CustomColor option
  239.         - again only one instance allowed
  240.  
  241. 3.00 |  - Windows 3.1 compatible KeepInFront instead of dirty hacking
  242. -----+  - Full keyboard support (lacking resize)
  243. (Pre-    - Improved menu supporting speed and color change
  244. Release)- Autosave of window position, speed and color
  245.         - Internal speed improvement
  246.         - using a section in win.ini instead of own initialisation file
  247.         - Change of size does not destroy statistic any more
  248.         - New email- and home address shown in aboutbox (what a difference!)
  249.  
  250. *******************************************************************************
  251.  
  252. (c)1991-1994 Ulrich Hund
  253.